import request from "@/utils/request";
export function getList(params) {
  return request({
    url: "/api/czChannel/getList",
    method: "get",
    params,
  });
}
export function change(data) {
  return request({
    url: "/api/czChannel/change",
    method: "post",
    data,
  });
}
export function add(data) {
  return request({
    url: "/api/czChannel/add",
    method: "post",
    data,
  });
}
export function del(id) {
  return request({
    url: "/api/czChannel/del",
    method: "post",
    data: { id },
  });
}
export function getAllList() {
  return request({
    url: "/api/czChannel/getAll",
    method: "get",
  });
}
export function getTempList() {
  return request({
    url: "/api/czChannel/getAllTempList",
    method: "get",
  });
}
